﻿<!DOCTYPE>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <title>热表有限产能排产平台</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
    <link rel="stylesheet" href="/InSiteWebApplication/Content/webuploader/webuploader.css" />
    <style type="text/css">
        .webuploader-pick
        {
            padding: 0px 0px;
            border-radius: 0px;
        }
        
        .tip
        {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            line-height: 25px;
            max-height: 25px;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
        }
        .tip::before
        {
            /* attr函数, 参数就是li标签身上的属性 */
            display: none;
            overflow: hidden;
            content: attr(title);
            top: 0px;
            right: 5px;
            opacity: 1;
            padding: 10px;
            position: absolute;
            background-color: rgba(50, 50, 50, 1);
            border-radius: 5px;
            color: #ffffff;
            z-index: 9999;
            max-width: 500px;
        }
        .tip:hover::before
        {
            display: none; /*暂未启用*/
        }
    </style>
</head>
<body style="width: 99.9%;">
    <div id="mainSec">
        <div class="panelSection">
            <div class="easyui-panel " title="搜索区域" style="padding: 3px; width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
                <form id="queryForm" action="">
                <div style="margin: 3px 0px 3px 3px">
                    <div style="float: left">
                        <div class="divLabel" style="margin-bottom: 5px;">
                            主制分厂：</div>
                        <select id="txtMainFactoryID" class="easyui-combobox" name="MainFactoryID" data-options=""
                            style="width: 150px; height: 22px">
                        </select>
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px;">
                            订单号：</div>
                        <input id="txtMfgorderName" class="easyui-textbox" name="MfgOrderName" type="text"
                            data-options="" style="width: 120px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            排产超期：</div>
                        <input id="txtApsOverdue" class="easyui-textbox" name="ApsOverdue" type="text" data-options=""
                            style="width: 120px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            批次号：</div>
                        <input id="txtContainerName" class="easyui-textbox" name="ContainerName" type="text"
                            data-options="" style="width: 120px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            主制批次号：</div>
                        <input id="txtFaContainerName" class="easyui-textbox" name="FaContainerName" type="text"
                            data-options="" style="width: 120px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px;">
                            排产池：</div>
                        <select id="txtPoolID" class="easyui-combobox" name="PoolID" style="width: 140px;
                            height: 22px">
                        </select>
                    </div>
                    <div style="float: left; margin-left: 20px">
                        <a href="#" id="btnSearch" class="easyui-linkbutton" data-options="" style="margin-top: 16px;
                            width: 80px">查询</a>
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <a href="#" id="btnReset" class="easyui-linkbutton" data-options="" style="margin-top: 16px;">
                            重置</a>
                    </div>
                    <div style="clear: both">
                    </div>
                </div>
                </form>
            </div>
        </div>
        <div class="panelSection">
            <div class="easyui-panel " title="滚动制造计划" style="padding: 3px; width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
                <div id="gdBtn">
                    <button id="btnAddToPool" class="easyui-linkbutton" type="button" style="height: 24px;">
                        添加排产池</button>
                    <button id="btnRemovePool" class="easyui-linkbutton" type="button" style="height: 24px;
                        margin-left: 10px">
                        移除排产池</button>
                    <button id="btnCalOrderNum" class="easyui-linkbutton" type="button" style="height: 24px;
                        margin-left: 10px">
                        计算顺序号</button>
                    <button id="btnRefreshStatus" class="easyui-linkbutton" type="button" style="height: 24px;
                        margin-left: 10px">
                        执行刷新状态</button>
                    <button id="btnApsCalculate" class="easyui-linkbutton" type="button" style="height: 24px;
                        margin-left: 10px">
                        排产计算</button>
                    <button id="btnApsErrorExport" class="easyui-linkbutton" type="button" style="height: 24px;
                        margin-left: 10px">
                        异常信息导出</button>
                    <button id="btnEditManualStartDate" class="easyui-linkbutton" type="button" style="height: 24px;
                        margin-left: 10px">
                        维护指定时间</button>
                </div>
                <div id="dvApsPool" class="dvgrid-cellwarp" style="margin-top: 3px">
                    <table id="gdApsContainer" class="easyui-datagrid" style="width: 100%; height: 350px"
                        data-options="rownumbers:true,fitColumns:true,pageNumber:1,pageSize:5,pageList:[10,20,50,100]">
                    </table>
                    <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                     buttons:[{
                            iconCls:'',
                            text:'Go',
                            group:'paging-tail-btns',
                            id:'pageGo'
                    }]
                ">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="dg" style="display: none">
    </div>
    <div id="dgManual" title="编辑手动指定时间" style="width: 400px; height: 220px; display: none"
        data-options="iconCls:'icon-save',resizable:true">
        <div style="padding: 20px 50px 50px 50px">
            <div style="width: 100%; margin-top: 10px">
                <label for="Checkcycle" style="font-size: 16px">
                    手动指定日期:</label>
                <input type="text" class="easyui-datetimebox" id="manualStartDate" name="ManualStartDate"
                    style="width: 180px" data-options='editable:false' />
            </div>
            <div style="width: 100%; margin-top: 10px">
                <button class="easyui-linkbutton" type="button" style="width: 120px; height: 26px"
                    id="btnSaveManual">
                    保存</button>
                <a href="#" class="easyui-linkbutton" style="width: 80px; height: 26px" id="btnCloseManual">
                    关闭</a>
            </div>
        </div>
    </div>
</body>
</html>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ReferenceJsLib.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script type="text/javascript" src="/InSiteWebApplication/Content/Easyui/datagrid-groupview.js"></script>
<script type="text/javascript" src="/InSiteWebApplication/Content/webuploader/webuploader.js"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script type="text/javascript">
    document.write('<script src="/InSiteWebApplication/Scripts/ApsJs/RbApsLimitedCapacity.js?v=' + new Date().getTime() + '" type="text/javascript" ><\/script>');
</script>
